package com.goods.business.service;

import com.goods.common.model.business.BizProduct;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface BizProductService {
    /*分页查询产品*/
    PageVO<ProductVO> findProductList(Map<String,Object> queryMap);

    void addProduct(ProductVO productVO);

    BizProduct getProductById(Integer id);

    void updateBizProduct(Integer id, ProductVO productVO);

    void updateProductStatus(Integer id,Integer status);

    void deleteProductById(Integer id);

    PageVO<ProductStockVO> findProductStocks(Map<String, Object> queryMap);

    List<ProductStockVO> findAllStocks();

}
